/**
 * 
 */
package com.miolr.module.core.social;

import static org.junit.Assert.*;

import javax.inject.Inject;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.miolr.module.core.config.AppConfig;
import com.miolr.module.core.config.HibernateDevConfig;
import com.miolr.module.core.config.SocialConfig;

/**
 * @author iday
 *
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { AppConfig.class })
public class WeiboMessageAdapterTestCase {
	@Inject
	private WeiboMessageAdapter adapter;

	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
	}

	/**
	 * @throws java.lang.Exception
	 */
	@After
	public void tearDown() throws Exception {
	}

	/**
	 * Test method for {@link com.miolr.module.core.social.WeiboMessageAdapter#importMessage(java.lang.String)}.
	 */
	@Test
	public void testImportMessage() {
		adapter.importMessage("iday");
	}

}
